package HomeWorkNewYear;

public class ooDay01Student extends ooDay01Person{
    String className;
    int stuld;
    ooDay01Student() {}
    ooDay01Student(String name,int age,String address,String className,int stuld){
        super(name,age,address);
        this.className = className;
        this.stuld=stuld;
    }
    void study() {
        System.out.println(name+"正在学习");
    }
}
